package cn.iocoder.yudao.module.promotion.controller.app.channel.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "app - 商城链接配置 Request VO")
@Data
@ToString(callSuper = true)
public class ChannelLinkReqVO {

    @Schema(description = "链接名称", example = "芋艿")
    private String name;

    @Schema(description = "域名")
    private String domain;

    @Schema(description = "积分")
    private Integer points;

    @Schema(description = "节省金额", example = "10380")
    private BigDecimal economizePrice;

    @Schema(description = "活动状态：0开启 1关闭", example = "2")
    private Byte status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "域名")
    private String url;

}
